package com.ailk.kbi.kbiwarden.wsi.util.test

import java.util.List;

import com.ailk.kbi.kbiwarden.wsi.type.response.ColumnType;
import com.ailk.kbi.kbiwarden.wsi.type.response.ResultType
import com.ailk.kbi.kbiwarden.wsi.type.response.RowType;
import com.ailk.kbi.kbiwarden.wsi.type.response.RowsType;



class InterfaceTestUtil {
	static ResultType getData(){
		ColumnType column1 = new ColumnType(name:"COLUMN1", value:"1")
		ColumnType column2 = new ColumnType(name:"COLUMN2", value:"aaaaaa")
		ColumnType column3 = new ColumnType(name:"COLUMN3", nullValue:true,value:"")
		List<ColumnType> columns = [column1,column2,column3]
		RowType row = new RowType(columns:columns)
		List<RowType> rowList = [row,row]
		RowsType rows = new RowsType(maxCount:20, row:rowList)
		ResultType result = new ResultType(success:true, rows:rows)
		result
	}
}
